package com.wtf.dsp.admin.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * date: 2022/6/18 10:59
 * @author linhuanyou
 * @email 496558736@qq.com
 * @version 1.0
 */
@Data
@ToString
@ApiModel("模板删除请求类")
public class TemplateDelDTO {
    /**
     * 数据源名称
     */
    @NotBlank(message = "请输入数据源")
    @ApiModelProperty(value = "数据源")
    private String ds;
    @ApiModelProperty(value = "命名空间")
    @NotBlank(message = "请输入命名空间")
    private String ns;
    @ApiModelProperty(value = "模板ID集")
    @NotEmpty(message = "请输入删除的模板ID")
    private List<Integer> ids;
}